PPolygon(long xLeft, long yTop, long xRight, long yBottom, PMBool bRegular);
Example. The following example draws a polygon with the default attributes (number of sides and percent star inset). Since bRegular is specified as true, each segment of the polygon will be of equal length.long xLeft;
x coordinate of top-left corner in twipslong yTop;
y coordinate of top-left corner in twipslong xRight;
x coordinate of bottom-right corner in twipslong yBottom;
y coordinate of bottom-right corner in twipsPMBool bRegular;
false to place all outer vertices of the polygon on the rectangle, varying segment length and angles as needed
true to constrain the polygon to fit within the rectangle, with all segments equal and all angles equal (outer vertices lie on largest circle that fits within rectangle)
PPolygon(500, 400, 700, 600, true);
The PGetPolygonAttribs query
Adobe PageMaker 6.5 Help > Commands > Window > Toolbox
Adobe PageMaker 6.5 Help > Commands > Element > Polygon Settings
Comments or suggestions? Contact Adobe Developer Support